#include<stdio.h>
void main()
{int n,x1,x2,x3,y;
printf("please input number n:");
scanf("%3d",&n);
x1=n/10%10;
x2=n/10%10;
x3=n%10;
y=x3*100+x2*10+x1;
printf("y=%d\n",y);
}
